package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.SysCommodity;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysCommodityMapper {
    List<SysCommodity> selectCommodityList(SysCommodity sysCommodity);

    int deleteCommodityById(Long id);

    int updateCommodity(SysCommodity sysCommodity);

    SysCommodity selectCommodityById(Long id);

    int insertCommodity(SysCommodity sysCommodity);
}
